2017-05-27 6 views
0
(p) ➜ p git:(feature/62-api-custom-image-categories) git checkout develop        
Switched to branch 'develop' 
Your branch is ahead of 'origin/develop' by 5 commits. 
    (use "git push" to publish your local commits) 
(p) ➜ p git:(develop) git merge feature/62-api-custom-image-categories 

以前のコンソール出力から入力する際に​​、自動的にテキストを自動解決するソリューションはありますか?たとえば、私は、テキスト機能/ 62-API-カスタム画像カテゴリーを持っていると私はgitのは、Feをマージ入力すると、ブランチの名前をオートサジェストしたいのですが...以前の出力に基づいてテキストを自動生成するZSHプラグイン

答えて

0
*[728-reboot-62166][~/w/git/qradar]$ gm 
fatal: No commit specified and merge.defaultToUpstream not set. 

"No commit specified and merge.defaultToUpstream not set"

*[728-reboot-62166][~/w/git/qradar]$ git config merge.defaultToUpstream true 
*[728-reboot-62166][~/w/git/qradar]$ gm          
Already up-to-date. 

gitは、トラッキングブランチセットとconfig var setを上記のように維持することで、これを自動化できるようです。

関連する問題