2017年8月15日 星期二

[Git]完整學會Git GitHub Git Server 的24堂課 Unit.1~Unit.3

Unit. 1

git init

git add 'poem.txt' /* preparing add, can be files or file fold
git status

git commit -m 'description' --author='name <email>' /* acting adding

git commit --amend -m 'new description' --author='(changed) name <email>'
/* modifying description or author name/ email

gitk

exit
----

Unit. 2

git config alias.name 'full commend'

e.g.

git config alias.con 'config -l'

/* then,
/* git con = git config -l
----

Unit. 3

touch .gitignore

沒有留言:

張貼留言