Skip to main content
Best practices
1 vote
3 replies
69 views

I don't have access to the GPG key right now. How can I make commits and then sign them on another computer? I know about git rebase, but it's important to me that the dates in the GitHub repository ...
AsfhtgkDavid's user avatar
Advice
1 vote
13 replies
142 views

This is a question about the algorithm that Git uses and would ideally be answered by someone who has experience with the Git source code or who can find Git documentation that answers the question. ...
sasquires's user avatar
  • 385
1 vote
1 answer
124 views

I have a git hook commit-msg that checks the format of the commit message and rejects it if it is incorrect. The hook was working fine until recently (and was not modified recently). But now whenever ...
shim's user avatar
  • 10.3k
0 votes
0 answers
84 views

background My original project structure is like this: 20240720 # project root ├── tests ├── vnpy # submodule ├── vnpy_clickhouse # submodule ├── vnpy_datafeed # submodule └...
EvanHong's user avatar
-1 votes
2 answers
65 views

I recently did a migration of a project (Flutter, if it matters) from an old version of the framework it is using to a newer one. At one point in the migration branch, I deleted most of the source ...
Magnus's user avatar
  • 19.1k
1 vote
1 answer
65 views

This is a Java project using Eclipse and GitHub archiving -- has been running for several years. Something weird happened with Eclipse (MacOS). I went to Search the workspace for a text string "...
Pierre Bierre's user avatar
0 votes
4 answers
315 views

From Git - git-stash Documentation: A stash entry is represented as a commit whose tree records the state of the working directory, and its first parent is the commit at HEAD when the entry was ...
Ooker's user avatar
  • 3,400
-2 votes
1 answer
96 views

I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes ...
Sz2013's user avatar
  • 358
1 vote
0 answers
120 views

I often watch git log --all --oneline --graph --decorate --colors to keep an eye on my rebases. Today, something rather unsettling is showing up: * b782b84 (HEAD -> dev, origin/dev) III * 22fe431 ...
iago-lito's user avatar
  • 3,256
0 votes
0 answers
33 views

I am using Visual Studio 2017 (version 15.9.70 recently updated), and I am facing an issue where unstaged changes are disappearing after editing and saving any file. I can see the changes briefly in ...
SKumar210's user avatar
0 votes
1 answer
175 views

gitlint is a handy tool and for example useful to limit the max line length of commit messages to 72 characters - as widely adopted standard across many projects. However, this rule also doesn't allow ...
phip1611's user avatar
  • 6,358
0 votes
2 answers
315 views

After I used all the commands git add . git commit -m "tracker project" git remote add origin https://github.com/pqd.git git branch -b git branch -a git branch -m main git branch main ...
Dat Phi's user avatar
  • 11
0 votes
1 answer
62 views

I have a feature branch ff which is based on main. I want to bring changes made by a commit HEAD abcde on top of ff. How can I do this?
pip's user avatar
  • 37
1 vote
0 answers
45 views

In order to let Bumpversion make a commit message like this: <date>|<bumped part>|<current version>|<message> (Where the <bumped part> means major, minor, or patch) I ...
fauve's user avatar
  • 321
3 votes
4 answers
132 views

Say I’ve been staging changes using git add, but then realize that there is some small change—consisting of a single hunk, let’s say—I should commit separately before committing the staged changes. ...
Olius's user avatar
  • 301

15 30 50 per page
1
2 3 4 5
146