java - git 如何使用命令提交代码
伊谢尔伦
伊谢尔伦 2017-04-18 10:38:37
0
11
1057
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(11)
黄舟
git add --.
将所有的改变添加
git commit -m "提交的信息,可有可无。"
如果是本地的话这样就可以了
大家讲道理

Recommended TortoiseGit

左手右手慢动作

Please check the documentation yourself for this kind of problem. If you don’t understand the principles of git, just use the visualization tool

大家讲道理

Currently you need this: http://rogerdudler.github.io/...
If you encounter conflicts or something, you need this: http://www.liaoxuefeng.com/wi...

Ty80

git commit is transferred to the local .git directory, git push is transferred to the remote branch (default master), pull download
1. git commit first
2. pull (change if there is a conflict)
3. push
seems to use egit Plug-in, simple and convenient. . .

大家讲道理

I recommend that newcomers first use visual tools to operate, or use visual tools to compare and type commands.
The principle of git is not that intuitive. It is better for newcomers to have a reference process to understand. If there is a deviation in understanding but there is no problem in execution, bigger problems may arise later.

左手右手慢动作

Seriously, for problems that can be searched online, please ask Du Niang. If you can’t solve the problem, come to SF again

Liao Xuefeng’s git tutorial

黄舟

Are you still asking this? ?

小葫芦
git pull origin master
git add .
git commit -am"YOUR COMMIT INFOMATION"
git push -u origin master
黄舟

Who still uses commands? Nowadays they all use graphical interfaces. You're wasting your time.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template