Add aliases and vim modeline to gitconfig
This commit is contained in:
parent
9f74d21127
commit
a2a6832e7d
@ -1,7 +1,7 @@
|
|||||||
# Have git remember credentials
|
# Have git remember credentials
|
||||||
# git config --global credential.helper (store|cache|libsecret|git-credential-manager-core)
|
# git config --global credential.helper (store|cache|libsecret|git-credential-manager-core)
|
||||||
# setting up git on a new machine:
|
# setting up git on a new machine:
|
||||||
# https://madjam.dev/how-to-add-git-credentials-on-linux-and-macos-hosts-ssh-and-pat/
|
# https://jamiam.dev/posts/how-to-add-git-credentials-on-linux-mac-hosts/
|
||||||
|
|
||||||
# Setting up a new repo *make first commit*
|
# Setting up a new repo *make first commit*
|
||||||
# git remote add origin <url/path to git project>
|
# git remote add origin <url/path to git project>
|
||||||
@ -31,6 +31,7 @@
|
|||||||
cm = commit -m
|
cm = commit -m
|
||||||
cam = commit -am
|
cam = commit -am
|
||||||
co = checkout
|
co = checkout
|
||||||
|
cob = checkout -b
|
||||||
br = branch
|
br = branch
|
||||||
d = diff
|
d = diff
|
||||||
df = diff
|
df = diff
|
||||||
@ -42,7 +43,10 @@
|
|||||||
pul = pull
|
pul = pull
|
||||||
ps = push
|
ps = push
|
||||||
puhs = push
|
puhs = push
|
||||||
|
sw = switch
|
||||||
|
swc = switch -c
|
||||||
sm = submodule
|
sm = submodule
|
||||||
|
rv = remote -v
|
||||||
[credential "https://dev.azure.com"]
|
[credential "https://dev.azure.com"]
|
||||||
useHttpPath = true
|
useHttpPath = true
|
||||||
[credential]
|
[credential]
|
||||||
@ -53,3 +57,5 @@
|
|||||||
helper = !/usr/bin/gh auth git-credential
|
helper = !/usr/bin/gh auth git-credential
|
||||||
[credential "https://gist.github.com"]
|
[credential "https://gist.github.com"]
|
||||||
helper = !/usr/bin/gh auth git-credential
|
helper = !/usr/bin/gh auth git-credential
|
||||||
|
|
||||||
|
# vim: set list et!:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user