Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iaseth/gitinit
My gitconfig initial setup.
https://github.com/iaseth/gitinit
git gitconfig github gitignore gitinit gitlab
Last synced: 26 days ago
JSON representation
My gitconfig initial setup.
- Host: GitHub
- URL: https://github.com/iaseth/gitinit
- Owner: iaseth
- Created: 2023-10-19T11:09:39.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-21T04:44:13.000Z (about 1 year ago)
- Last Synced: 2023-10-21T05:25:09.670Z (about 1 year ago)
- Topics: git, gitconfig, github, gitignore, gitinit, gitlab
- Language: Batchfile
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitinit
* Set up my username and email:
```
git config --global user.email "[email protected]"
git config --global user.name "Ankur Seth"
```* Set up common aliases:
```
git config --global alias.i init
git config --global alias.a add
git config --global alias.b branchgit config --global alias.co checkout
git config --global alias.cob "checkout -b"git config --global alias.c commit
git config --global alias.cm "commit -m"git config --global alias.d diff
git config --global alias.dc "diff --cached"
git config --global alias.ds "diff --stat"git config --global alias.l log
git config --global alias.ll "log --oneline"
git config --global alias.last "log -1 HEAD --stat"git config --global alias.s status
git config --global alias.ll pull
git config --global alias.p push
git config --global alias.p0 "push -u origin master"
```* Set up other options:
```
git config --global core.autocrlf false
git config --global init.defaultBranch master
```