## SetDotfilesConfiguration `client.Users.Dotfiles.Set(ctx, body) (*UserDotfileSetResponse, error)` **post** `/gitpod.v1.UserService/SetDotfilesConfiguration` Sets the dotfiles configuration for a user. Use this method to: - Configure user dotfiles - Update dotfiles settings ### Examples - Set dotfiles configuration: Sets the dotfiles configuration for the current user. ```yaml { "repository": "https://github.com/gitpod-io/dotfiles", } ``` - Remove dotfiles: Removes the dotfiles for the current user. ```yaml {} ``` ### Parameters - `body UserDotfileSetParams` - `Repository param.Field[string]` ### Returns - `type UserDotfileSetResponse interface{…}` ### Example ```go package main import ( "context" "fmt" "github.com/gitpod-io/gitpod-sdk-go" "github.com/gitpod-io/gitpod-sdk-go/option" ) func main() { client := gitpod.NewClient( option.WithBearerToken("My Bearer Token"), ) response, err := client.Users.Dotfiles.Set(context.TODO(), gitpod.UserDotfileSetParams{ }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json {} ```