Linked Questions

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 ...
Favolas's user avatar
  • 7,133
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 ...
M. Wood's user avatar
  • 529
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 ...
user1852176's user avatar
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 ...
Joff's user avatar
  • 11.9k
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.
Amr Aly's user avatar
  • 3,897
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] -------------------------------------------------------...
Fasil's user avatar
  • 1
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 ...
Paresh Masani's user avatar
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 ...
CGTheLegend's user avatar
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 ...
Narkael's user avatar
  • 53
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 ...
adjfac's user avatar
  • 635
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 ...
Mayuri's user avatar
  • 17
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 ...
Ty Kroll's user avatar
  • 1,395
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. ...
xiaohan2012's user avatar
  • 10.2k
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 ...
Kicsi Mano's user avatar
  • 3,731
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 ...
Burak's user avatar
  • 5,754

15 30 50 per page