1,查看当前branch
#git branch
2,check out
#git checkout new_mybranch
3,check in
#git commit //you have to add comment
4,adding new file
#git checkout new_mybranch
#add file.....
#git add . //all file
#git commit
5, photo UI
#gitk --all
6, check whether the directory of file is controlled by git
#find -name .git
./opt/com.google.android/.git
./opt/com.google.android.googlelogin/.git
./policies/base/.git
./base/.git
本文介绍了Git中常用的命令操作流程,包括查看当前分支、切换分支、提交更改、新增文件及目录管理等基本操作,并提供了检查文件目录是否受Git管理的具体命令。
5916

被折叠的 条评论
为什么被折叠?



