minnymouse@XXXXXXX /c/XXXXXXXXX/XXXXXXXXX/XXXXXXXXX (development)
$ git status
On branch development
Your branch is ahead of 'origin/development' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
minnymouse@XXXXXXX /c/XXXXXXXXX/XXXXXXXXX/XXXXXXXXX (development)
$ git push origin development
To ssh://xxxxxx/xxx/xxxxx/git/repos/xxxxx
! [rejected] development -> development (fetch first)
error: failed to push some refs to 'ssh://xxxxxx/xxx/xxxxx/git/repos/xxxxx'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
minnymouse@XXXXXXX /c/XXXXXXXXX/XXXXXXXXX/XXXXXXXXX (development)
$ git pull
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (10/10), 1.06 KiB | 43.00 KiB/s, done.
From ssh://xxxxxx/xxx/xxxxx/git/repos/xxxxx
7948726..7dc3f5c development -> origin/development
b9042ed..d04db55 feature/luxor -> origin/feature/luxor
7948726..7dc3f5c production -> origin/production
hint: Waiting for your editor to close the file...
如果我关闭编辑器而没有评论,是否会完全中止拉取?如果不是,编辑器文件中的消息是什么意思:
# Lines starting with '#' will be ignored, and an empty message aborts the commit.
所有这些都会集成到我的本地开发副本中吗?如果不是,这样做的目的是什么?
7948726..7dc3f5c development -> origin/development
b9042ed..d04db55 feature/luxor -> origin/feature/luxor
7948726..7dc3f5c production -> origin/production