这是一个创建于 2796 天前的主题,其中的信息可能已经有所发展或是发生改变。
要把 md 文件放在 github 的 repo 里
每次修改之后都要运行
git add、git commit、git push
搜索了下,发现这种单纯修改的情况 git commit -a 可以替代前面两个
请问有没有什么方法用一个命令实现整个操作
4 条回复 • 2017-06-22 13:57:05 +08:00
![littleylv](https://cdn.v2ex.com/avatar/1172/b281/218673_normal.png?m=1488521065) |
|
2
littleylv 2017-06-22 13:38:05 +08:00 1
想偷懒用界面版的呗。SourceTree、GitHub Desktop
|
![imherer](https://cdn.v2ex.com/avatar/32a6/84e5/199520_normal.png?m=1734571810) |
|
3
imherer 2017-06-22 13:41:03 +08:00 1
写个脚本,或者 alias
|
![nybux](https://cdn.v2ex.com/gravatar/1ab3f22d3c43507cd6e9a5dfa4bcec75?s=48&d=retro) |
|
4
nybux 2017-06-22 13:57:05 +08:00 1
git commit -a && git push
|