## GetDotfilesConfiguration `client.Users.Dotfiles.Get(ctx, body) (*UserDotfileGetResponse, error)` **post** `/gitpod.v1.UserService/GetDotfilesConfiguration` Gets the dotfiles for a user. Use this method to: - Retrieve user dotfiles ### Examples - Get dotfiles: Retrieves the dotfiles for the current user. ```yaml {} ``` ### Parameters - `body UserDotfileGetParams` - `Empty param.Field[bool]` ### Returns - `type UserDotfileGetResponse struct{…}` - `DotfilesConfiguration DotfilesConfiguration` - `Repository string` The URL of a dotfiles repository. ### 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"), ) dotfile, err := client.Users.Dotfiles.Get(context.TODO(), gitpod.UserDotfileGetParams{ }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", dotfile.DotfilesConfiguration) } ``` #### Response ```json { "dotfilesConfiguration": { "repository": "https://example.com" } } ```