Questions tagged [Git] (2349)

0
answer

How to tie VSCode as external difftools to git inside the WSL?

I'm a pervert, I do that sort of thing is to impose the sites in the Windows 10 native by Windows WebStorm and git through the terminal WSL? But I managed to tie VSCode as an external editor for git commit: [core] editor = '/mnt/c/Users/const/AppData/Local/Programs/Microsoft VS Code/code.exe' And it works! :) I managed t...
destin19 asked April 19th 20 at 12:47
2
answers

Git commits in master — how to fix?

The inexperience started committing and push to master. And comrade, with whom it is a matter of picking, too inexperienced, took my changes. I want to drag all my changes to the branch "experiment". Orgogliosa, tried all the options, what are found something it turns out wrong. New branches appear, but the data remains in...
Adell.MacGyv asked April 19th 20 at 12:45
0
answer

How to associate a local and remote repository?

I have two github , on the 2th create an empty repo that you want to push the project.Did changed locally the user git config user.name git config user.@mail //////////////////// git init /////////////////// git add -A /////////////////// git commit /////////////////// git remote add origin "repo which has created" ///////...
gerald.Zbonc asked April 19th 20 at 12:29
4
answers

As for git to stop tracking changes to this file without adding it in .gitignore (i.e. storing in the repository the original version)?

The project has a configuration file which every developer configures by itself. If you add it in .gitignore this will remove the file from the repository and a new developer it will not download. As a result of his build project in General will not start. You need to save the original file in the repository. Then when ...
vicente_Batz asked April 19th 20 at 12:20
3
answers

Is it possible to add to gitignore separate lines?

At work sometimes we have to use wardany, console logs, etc. At intermediate commits, you have to remove all the extra lines, and then return if they still need, what, exactly, tiring, and sometimes some to clean let forget. Therefore interested in whether you can exclude commits a separate line?
Paris_Hane asked April 19th 20 at 12:05
2
answers

Switching Git user?

There are two GitHub account, one for work and one for their projects. As you can quickly switch between GitHub accounts in Visual Code? I recently re-installed Windows, and before reinstalling, when I Pushe the changes in Visual Code, there is a login window the Login/Password, I entered the data and it was fine. To me t...
Sabina asked April 19th 20 at 11:53
1
answer

Unity gave this error, what to do?

Cloned the repository with sourceTree from branch develop - everyone who downloaded, everything works. Note: desktop git installed. Version of unity 19.1.14.
lela43 asked April 18th 20 at 13:19
1
answer

Is it possible to see the whole code is written to you in a day?

Hello! I use PHPSTORM and do the commit through git to bitbucket. Is there any tool (or bitbucket, or in the storm - not the principal) that I could just in the end of the day to do Ctrl+A, Ctrl+C and send to the employer a report?
kaya_White57 asked April 18th 20 at 13:15
1
answer

How to get back to the correct commit if you've done a git revert?

Changed files that I wasn't allowed to change, in consequence of which I couldn't pass the pipeline. I read online that you can undo multiple komitov using "git revert aaaa..bbbb", so I cancelled unnecessary commits and zaputil them. After I realized that I had not cancelled all commits containing changes "unchanging files"...
harley.Dickins asked April 18th 20 at 13:13
2
answers

Stupid question. But how to push to master?

Perhaps someone is yelling) But I had not tried to work in a team. I said do a push to master. I used to use git, just to copy the repo to him. And now we need to make a push. When you write in Google "How to push to master?", all the requests are something like "is it Good to push to master?", "Should I push to master?" Ye...
keven.Reinger asked April 18th 20 at 13:01