Git Alias


Git Alias


pwd
cd projects/starter-web
ls
git status
clear
git log --all --graph --decorate --oneline
git hist
git config --global alias.hist "log --all --graph --decorate --oneline"
git hist
clear
mate ~/.gitconfig
git hist
mate ~/.gitconfig
git hist
clear


Git Configuration File (~/.gitconfig) snip

[alias]
hist = log --all --graph --decorate --oneline


Command Listing


pwd
cd projects/starter-web
ls
git status
ls -al
mate .gitignore
ls -al
git status
git add .gitignore
git status
git commit
git status
ls
mate access.log
ls
git status
git .gitignore
clear
git status
mkdir log
mv access.log log
ls
cd log
ll
cp access.log access.2014-11-04
ll
cd ..
git status
mate .gitignore
git status
git commit -am "Excluding log file directory"
git status

Publicar un comentario

0 Comentarios