Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sundaylaundry authored Feb 20, 2024
0 parents commit 9228209
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is a basic gitconfig template that includes some bare minimums for
# interacting with git in a workspace. The content between <Angle Brackets>
# in this file must be replaced with values appropriate to you. This can
# Be done manually or with the following series of commands run from the current
# folder:
#
# $ HOME=$(pwd) git config --global user.name "Bits the Dog"
# $ HOME=$(pwd) git config --global user.email "[email protected]"
# $ HOME=$(pwd) git config --global user.signingkey "$(git config --global user.signingkey)"

[user]
# The name you want to appear as the author of your commits
name = <YOUR NAME>
# The e-mail address that is associated to the author of your commits
email = <YOUR EMAIL>
# This next section is optional and can be omitted if you do not use ssh git
# commit signing. However, doing so is highly encouraged, and if you have not
# started using this workflow, see the onboarding docs for that:
# https://datadoghq.atlassian.net/wiki/spaces/SECENG/pages/2610300092/Project+Iota+Git+Commit+Signing+Onboarding
# # This is an ssh key that can be used to sign your commits, it should
# # be made available to your workspace via ssh agent forwarding and can be
# # seen on your laptop by issuing `git config --global user.signingkey`
# signingkey = <YOUR COMMIT SIGNING PUBLIC KEY>
# [commit]
# gpgsign = true
# [gpg]
# format = ssh


# This is a url rewrite that helps [go and maybe rust] tooling that downloads libraries from our private repos
[url "[email protected]:DataDog/"]
insteadOf = https://github.com/DataDog/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Example dotfiles repo for initializing workspaces

This repository is supposed to be used as a template for dotfiles you
would like to have added to each new workspace that is created. To use
it, first you must create a new personal repository with this specified
as a template. Go to http://github.com/new and initialze the repo as
follows

![Setting up dotfiles](docs/new_repo_screen.png)

Alternatively, [this link](https://github.com/new?owner=@me&template_name=workspaces-dotfiles-template&template_owner=DataDog&name=dotfiles&visibility=public&description=Home+directory+initialization+for+workspaces)
will pre-fill the form with valid values.

Once `Create repository` has been selected, clone the new repository locally, modify
it as appropriate following comments in the provided files. At the very least,
replace text within `<Angle Brackets>` with values more appropriate to you.
Commit the changes, push and supply the url of the repository to the `--dotfiles`
parameter the next time you create a workspace. This can also be persisted in the
workspaces configuration file.

See [Getting Started with Workspaces Personalization](https://datadoghq.atlassian.net/wiki/spaces/DEVX/pages/3068528729/Getting+Started+with+Workspaces+Personalization)
for details.
Binary file added docs/new_repo_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9228209

Please sign in to comment.