Linked Questions
84 questions linked to/from How can I reconcile detached HEAD with master/origin?
1
vote
1
answer
1k
views
AndroidStudio and uncommitted changes to BitBucket
I'm starting to use AndroidStudio and the BitBucked plugin.
The all concept off Git is new to me and I've already stumbled in a problem.
I've committed the changes using VCS -> Commit changes but ...
0
votes
2
answers
666
views
initialized gitlab repo has remote detached head
I have initialized a new remote repository using gitlab website, and am trying to push an existing local repo into it via the provided instructions.
$ git init
$ git remote add origin [url]
$ git add ...
1
vote
1
answer
1k
views
git pushing wrong repository to bitbucket
I just realized that for about a week now my git pushes are not actually going through to my repository on bitbucket. I'm using Mac and have GitX locally which is showing my commits from the past week ...
3
votes
2
answers
484
views
How to get an earlier commit to display on openshift?
So I have my local repository, and I have an earlier commit which I want to revert my production site to. I can check it out and make it a branch and push it to openshift. The branch then shows in ...
0
votes
4
answers
767
views
How to add changes to previous version and save it to branch master
if I have a > b > c versions. I want go back to b and add some changes So what I have now is a > b > b+newChanges on master branch, I hope that makes sense.
0
votes
3
answers
1k
views
Spring boot App - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile on Project
I am trying to deploy a spring boot app on Heroku. Here's my heroku error log:
remote: [ERROR] COMPILATION ERROR :
remote: [INFO] -------------------------------------------------------...
0
votes
1
answer
1k
views
GitLab: There isn't anything to merge. Branch and master are the same
I have been using GitLab to manage our Git repository. Recently I have encountered a problem where we are not able to create any pull requests. No matter the destination branch, I always get:
There ...
0
votes
1
answer
844
views
How to pull from local branch in Xcode
So I have a commit to my local branch that has yet to be pushed to my remote. I worked a little after my local commit and decided to go back to what I had committed. I selected the Discard All Changes ...
1
vote
1
answer
998
views
Fix Git Branching with Detached Head and Unrelated Histories
I need to fix a Git repository that has a detached head and 2 consecutive branches with unrelated histories. I have to use SourceTree at work, but I can use command lines too if needed.
What I have ...
3
votes
1
answer
920
views
How do i sync/update files using git master stored in dropbox among different computers?
I setup my master dropbox repo following the instruction found: http://tumblr.intranation.com/post/766290743/using-dropbox-git-repository. I was able to create the remote and clone the repo to another ...
0
votes
2
answers
383
views
GIT - HEAD detached
I am new to GIT. I have created a virtual host and setup my project locally. All the branches of the site list out including origin/sprint. I wanted to switch to origin/sprint branch and start my ...
1
vote
2
answers
341
views
Moved file location in Xcode 4, can't push to Github
Git newbie here. Using Xcode 4.3.2. Had to move my project file directory. Commit still works fine but when I do a git push, I get Everything up-to-date, which is incorrect.
How do I get back on ...
1
vote
1
answer
417
views
Git says my repository is up-to-date but actually it is not
There are two git repos in two machines.
Though from the same origin previously, they are different actually because my friend and I operate on them differently afterwards.
Now here is the problem.
...
3
votes
1
answer
241
views
How can I push a new branch?
I created a new branch.
After some modification I would like to push the branch to the server
git commit -m 'New branch'
13 files changed, 694 insertions(+), 36 deletions(-)
git push origin ...
0
votes
2
answers
318
views
How can I clear remote repository in git?
I want to clear the remote repository and push the new files.
I' am getting
git commit -m "fix"
# HEAD detached from 0027561
nothing to commit, working directory clean
and nothing is pushed to ...