Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git clone ssh://user@192.168.1.122:29418/tfg/TFG proyect_forked
- cd proyect_forked
- git remote add upstream https://github.com/user2/proyect.git
- # git pull make git commit
- git pull upstream master
- remote: Counting objects: 29, done.
- remote: Compressing objects: 100% (3/3), done.
- remote: Total 29 (delta 11), reused 11 (delta 11), pack-reused 15
- Unpacking objects: 100% (29/29), done.
- De https://github.com/user2/proyect
- * branch master -> FETCH_HEAD
- * [new branch] master -> upstream/master
- Automezclado qqq.html
- Automezclado zrq
- Merge made by the 'recursive' strategy.
- zrq | 7 +------
- qqq.html | 2 +-
- 2 files changed, 2 insertions(+), 7 deletions(-)
- gitdir=$(git rev-parse --git-dir); scp -p -P 29418 user@192.168.1.122:hooks/commit-msg ${gitdir}/hooks/
- git commit --amend
- git log -n 1
- # Change-Id: I9bc83ab5aa7fe0511ee8d1e80d64333ba49758ac
- git push ssh://user@192.168.1.122:29418/tfg/TFG HEAD:refs/for/master
- Counting objects: 49, done.
- Delta compression using up to 4 threads.
- Compressing objects: 100% (26/26), done.
- Writing objects: 100% (27/27), 3.22 KiB | 0 bytes/s, done.
- Total 27 (delta 18), reused 0 (delta 0)
- remote: Resolving deltas: 100% (18/18)
- remote: Processing changes: refs: 1, done
- remote: ERROR: missing Change-Id in commit message footer
- remote:
- remote: Hint: To automatically insert Change-Id, install the hook:
- remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 user@192.168.1.122:hooks/commit-msg ${gitdir}/hooks/
- remote: And then amend the commit:
- remote: git commit --amend
- remote:
- To ssh://user@192.168.1.122:29418/tfg/TFG
- ! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit message footer)
- error: failed to push some refs to 'ssh://user@192.168.1.122:29418/tfg/TFG'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement