i lokal in einer Niederlassung in abgelegenen und Zweig angelegt haben (git checkout -b gopinath
)wie begehen und drücken Sie alle Änderungen in bitbucket
danach folgte ich dem unter
0) git remote hinzufügen Upstream Schritte [Ihr bitbucket Repository URL geht hier hin.
1) git init
2) git status
3) git add.
4) git commit -m "initial commit"
nach dem vierten Befehl geben ich dieses Problem bin immer lokal
atal: The current branch gopinath has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin gopinath
why i am getting this issue i am doing the wright way to push my code to bitbucket.
wenn ich Kasse zu beherrschen und löschte den Zweig ich erhalte diesen Fehler msg
Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email [email protected] After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
8 Dateien geändert, 6 Einschübe (+), 8 Deletionen (-) `
Update
git branch -a
danach i *master
bekam
git remote -v
für das i
erhalten upstream https://[email protected]/mobinius/ionicpoc.git (fetch) upstream https://[email protected]/mobinius/ionicpoc.git (push)
git log --graph --all --decorate --oneline
ich bekomme diese
* 5c12918 (HEAD -> master) keychain demo * 8b518a4 Initial commit
Haben Sie die Remote-Repository-URL in git 'git remote addurum your_gitrepo_url' hinzugefügt? –
Sie müssen Remote-Repository git Remote hinzufügen Herkunft hinzufügen (Upstream) Repo_url –
ja ich habe hinzugefügt, dass eine @IvanSheigets –