Questions tagged as 'git'

1
answer

Get Commits with Key Words

I'm trying to mine some data from Git, I need to know how many commits the X file is in, and if I have any keyword in a list. I am using the following command: git log --all --grep fix --follow Freak.php Currently it only searches for the k...
asked by 03.10.2017 / 19:16
1
answer

Import github code into eclipse Oxygen

I have a code that I would like to import into my eclipse through the zip download, however at the time of importing the following error    No projects are found to import How to import a Java project from github to my eclipse...
asked by 04.05.2018 / 05:00
1
answer

How to change the message of a commit sent to the remote repository

I made 3 commits in the local repository and sent it to the remote repository using push . I noticed that the message from one of the commits was wrong. How do I change the message under the following conditions: The commit has alre...
asked by 04.04.2017 / 16:47
1
answer

How to remove from Git a file that was crawled and is now in .gitignore?

I have a file that was crawled by git , but now it is in the .gitignore list. However, this file still displays in git status when it changes. What do I do to make sure% can completely forget this file?     
asked by 04.04.2017 / 14:33
1
answer

Do not commit Specific line in GIT

Hello, Is it possible in Git to ignore a specific line within a file? It would be interesting for cases where we need to register a password, in this case I need to commit the file, but I would like to ignore the line that contains the passwo...
asked by 06.05.2016 / 18:08
1
answer

I can not publish my MEAN app on OpenShift

I've done everything that seems right. I changed the local variables to process.env , but when I commit and send I get this output: Pushing to ssh://[email protected]/~/git/pontotec.git/ remote:...
asked by 12.02.2016 / 05:45
1
answer

Git init did not create master branch

I'm trying to give git init to my project, it returns successfully: Initialized empty Git repository in C:/myprojetPath/.git/ But because when I type git branch , it does not return any branches? $ git branch (Não retorna ne...
asked by 14.03.2016 / 17:02
1
answer

Git - line break problem between different Operating Systems

I'm trying to fix a problem with Git, it's a line break problem in files that were sent from a DOS-based operating system and later changed into a UNIX-based OS. What happens: When I change 'n' lines in my Linux OS, for example, the file: "mo...
asked by 09.12.2015 / 23:41
1
answer

Recovering deleted project in Staged E-git

Good evening everyone! Today I tried to use the E-git plugin for a project made in eclipse, following an internet tutorial. I've never had contact with the plugin before. And because of this unprepared I removed all the 'Unstaged Changed' files...
asked by 23.04.2016 / 00:54
1
answer

Git merge did not happen as expected

Hello, I'm going to try to be very practical in my problem. 1 - Working on the 'correction' branch I ended up making changes to different things by mixing things ... 2 - Give to try to 'improve' I created a new child branch git checkout...
asked by 10.09.2015 / 22:03