0
votes
2answers
30 views

How can I view what was added to a file in a certain commit?

I have a homework assignment in which I have to view the bootstrap repository. I have to answer this question "What single character was added to a file in commit e17c9 (ignoring any added spaces)? ...
3
votes
2answers
49 views

git - Commiting commits before other ones

New Question Two querstions: I'm trying to but a commit before ALL commits. The bottom most commit has 660fb2a76211f36ec9a67d0454a90eab469e9fd0 as SHA. When I type git rebase -i ...
0
votes
1answer
33 views

How do I get the SHA of the latest commit on a GitHub repository via jQuery?

I've been at this for several hours now and I have yet to find any useful information anywhere. I'm trying to use jQuery to get the latest commit of any GitHub repository from a single user to show up ...
0
votes
1answer
31 views

Removing changes from one file in a commit

I have a private repo with a single commit on Github -- specifically for a Rails project. My schema file was changed along with migrations, and a fellow dev wants me to remove the schema changes from ...
1
vote
1answer
44 views

intellij idea: how to disable pre-commit code analysis for Git-backed projects

I have a project in intellij, and I'm using Git/GitHub as source control. Each time I try to commit changes, intellij runs a lengthy code analysis and searches for TODOs. When it finds "problems," ...
0
votes
0answers
45 views

GitHub History Changes on Every Commit

So my team and I are having a very strange issue with Git / GitHub. (a private repo) Every time one of us commits, the commit history changes. This isn't a matter of different branches; at the ...
0
votes
1answer
45 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
1answer
19 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
51 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
42 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
139 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
11 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
57 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
38 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 ...
5
votes
2answers
898 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 2 3 4 5 6
15 30 50 per page