git question 

I'm working in a repository made by someone else, and it includes a build file.

This build file should NOT change upstream, however in order for it to build on my system I needed to make some OS-specific changes to the file.

Is there a way to tell git "hey, don't commit this file, and just leave it the way it is" without either removing my modifications to the file or sending my modifications upstream?

re: git question 

@lizardsquid the gitignore is one option, but that usually gets committed as well. what would be better is to stash that file while pushing
Follow

re: git question 

@rachel the problem is I keep having to revert my branches because I accidentally type "git commit -a"

(because I'm used to a mercurial workflow)

re: git question 

@lizardsquid

not exactly, sorry. sigh

i don't think git is good because a lot of this shit

re: git question 

@rachel yeah, I find git gets in the way a lot more than it should

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!