Tagged Questions
0
votes
1answer
34 views
github - how to remove commit from branch
I have read a lot of questions and answers which could be related to my question, but I can't find an answer. Maybe because I'm not experienced git user. Then I'm sorry and would be grateful for links ...
1
vote
0answers
8 views
Remove a reference with a commit message on GitHub?
It is possible to reference a issue from an other issue with:
reference #xxx
Is it somehow possible to delete a reference from a issue with a commit? (like this one:)
0
votes
1answer
43 views
Git/Github allow collaborators but keep control
I want to allow some collaborators on one of my github repos, however I would like to limit them to their own Branch. There's only a handful of collaborators, and limiting them to their own branch ...
0
votes
3answers
40 views
How do i remove the latest commit from my repo?
I have made some error with my latest commit to my github repo.
How can i delete tha latest one?
Do i use this command:
git reset --hard HEAD^
for remove the latest one?
and then:
git push ...
2
votes
1answer
63 views
How to cherry pick 2 out of 5 commits of a pull request on GitHub?
I'm new to GitHub. Someone submitted a pull request with 5 commits. 3 of them have a little bug, though, so must wait. How can pick 2 of them for my project?
0
votes
0answers
9 views
gitHub Commit History
I've created a feature branch off of the master branch on gitHub. My feature branch has all the commit history from master. How can I only track unique commits on the feature branch?
0
votes
2answers
51 views
Commit changes to new repository
I cloned one open source project. Now, since I would like to backup that and show it to some people, I would like it to push it to my github account. The issue is that the original repo is now ...
0
votes
3answers
35 views
Commiting into github downgrades my files into previous version
Commiting into github downgrades my files into previous version, I have created a second branch in my github repository for experimental uses, and also i have my master branch. Whenever i try to ...
4
votes
2answers
374 views
Why Git is not accepting me to commit even after configuration?
This question seems like a duplicate but it's really not. Just a slight difference that keeps on repeating. git keeps on telling me: "please tell me who you are", even after setting it up. when I run ...
1
vote
1answer
34 views
Github and Eclipse: not all files are commited
I´m using Github in Eclipse, and commiting my changes to it. I have added some files to my project, and I have clicked on Team->"Add to index" in each of them, for them to be commited when I make a ...
2
votes
1answer
65 views
Commit files to git hub with Windows 7 (command line)
This is my first time committing anything to git hub and I have no clue what I'm doing. I used the 'git add .' command to add all the files in the directory I was working in. My next command was 'git ...
0
votes
1answer
34 views
undo commits associated with everything but one file
I forked a repository and created a file I want to later combine with the original repo.
However, along the way I was messing around and edited/created/moved other unrelated files that made their way ...
0
votes
2answers
88 views
add new Project to existing github Repo
I am developing a Client-Server application and I want to store both projects (Client and Server) on github the same github repo.
I am on macosx.
I created a local repository for the client side ...
0
votes
1answer
57 views
how to re-add and re-commit in git command line
I'm not sure I understand what the command git commit -am "commit_message" does. I used it hoping that it would do:
git add .
git commit -m "commit_message
But when I pushed to github, I noticed ...
0
votes
1answer
64 views
Git - all my new features disappeared from the project
I wanted to push the new features which I made into the new the new branche. When I was done, I created the new branch, added new files (git add .), committed it (commit -am 'new data') and pushed it ...
-1
votes
2answers
80 views
Push committed files to GitHub
I have repository in GitHub. I edited files in my PC, committed them and now I want to push these files to GitHub. How can I do it?
0
votes
1answer
71 views
Remove Commit from Repository History [duplicate]
Possible Duplicate:
How to delete a ‘git commit’
Knowing that this will change history, I want to remove some accidentally commits from the history of a repository. I would like all other ...
2
votes
4answers
68 views
git: I can add a directory, but at commit time I get “nothing to commit”
I'm trying to add two directories to a git repo.
I can add them OK, but when trying to "commit", I get "nothing to commit".
I'm following the add->commit->push sequence, but in this case it doesn't ...
0
votes
3answers
148 views
Github branch is ahead by 5 commits, how to fix?
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Allen\Documents\GitHub\project2-pd7 [master]> git status
# On branch master
# Your branch is ahead of ...
0
votes
2answers
63 views
Can GITHub commits be pushed to a new branch? Or are they already committed to the original?
I've made some changes to my local version of the code and committed them, but I want to push them to a new branch. I'm worried that when I push my changes, they'll all affect the master branch.
Is ...
0
votes
1answer
55 views
GitHub (Mac application) - commits not visible
I have just recently installed the github mac application and attempted to push some existing commits to a branch using the Synchronise button. I am authenticated with SSH keys, the application did ...
0
votes
1answer
16 views
Is it possible to view long commits in Github?
I made a commit in Github for Windows just now with an exceptionally long message. Even with the window maximized, I can't read the whole thing, and more importantly it doesn't let me scroll down to ...
0
votes
1answer
174 views
Why git push origin master goes dead?
I'm stuck trying to push to one of my github repos and am not sure if something is broken or what the problem is.
My repo is here: https://github.com/frequent/tableview
I cloned this:
git clone ...
1
vote
1answer
245 views
GitHub and Git extensions - push on commit
I just created a GitHub account, installed Git Source Control Provider and GitExtensions to work using Visual Studio. All the setup is done, and I managed to push my local codebase to GitHub.
Now, I ...
6
votes
2answers
143 views
Git commit a commit message and nothing else?
When handling pull requests on GitHub, often I want to merge in commits from a branch with no changes. However, I would like to commit something just after the merge. I don't want to git commit ...
4
votes
1answer
338 views
GitHub - List commits by author [closed]
Is there any way in GitHub.com to list all commits made by a single author, in the browser (neither locally, e.g. via git log, nor via the API)?
Clicking on a user name in the list of commits (Commit ...
0
votes
2answers
189 views
git pull after commit in a better manner without merge
I have created a new commit, but forgot to pull before that using git stashand than git pull. Now if I will do the git pull . I'll get one more commit as merge origin/branch to my branch (already some ...
1
vote
1answer
45 views
create a commit, save it, don;t push it than create some few more commits , push them than push the first commit
What if I want to save a commit say commit-1 but don;t want to push it and then after few commits,which I have pushed also, then I want to push that commit-1 ?
0
votes
1answer
344 views
Github workflow and pull requests showing unwanted commits
In our business we have the following setup (hugely simplified version), pretty standard:
A master branch, which updates the live environment through a hook.
A test branch, used for QA, UA, which ...
0
votes
1answer
75 views
Github: show tags in commits history
I have a repository on github, and another on bitbucket. Both have some tags.
The thing is, bitbucket shows next to commits the tag they relate to, while github doesn't. Is there a way to show tags ...