在project開始時,參考使用流程
1. to the directory of root of project
2. find . // to see files
3. echo …/UserInterfaceState.xcuserstate > .gitignore
4. cat .gitignore
5. git init
6. git add .
7. git commit -m "Now under source control"
show
Committer: name <name@chenteki-Mac-Pro.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
其他的使用語法參考
http://iphoneipad-develop.blogspot.tw/2011/02/git-branch.html
沒有留言:
張貼留言