153,746 questions
-8
votes
0
answers
44
views
How to push Git to Git hub for mac [closed]
i am facing problems in putting commands if anyone can guide me step by step . Also seen 3 to 4 tutorials though, i want answer from someone who has faced same problems and done it.
-2
votes
0
answers
30
views
Why is my CSS not applying even though the file is linked properly? [duplicate]
I'm trying to log in to my GitHub account from the terminal using my GitHub username and password,
but GitHub no longer accepts account passwords.
I generated a Personal Access Token (PAT), but when I ...
-7
votes
1
answer
106
views
Is the source code representation in the Go Programming Language the same as in Git? [closed]
git(1) uses one representation when storing source code (not binary) by default which IIRC is utf-8 (no working-tree-encoding). Is this the same default as in Go?
I tried comparing to Git but have ...
0
votes
0
answers
56
views
Git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
When running git push origin --force on LLVM with full depth,
Enumerating objects: 6521470, done.
Counting objects: 100% (6521470/6521470), done.
Delta compression using up to 12 threads
Compressing ...
-7
votes
0
answers
62
views
Recover a vanished folder after cancelling "git clone" [closed]
I've been working on some data evaluation using VS Code and Jupyter today. I saved everything, then closed VS Code. After that I canceled a "git clone" command using Ctrl+C that was there ...
-4
votes
1
answer
49
views
How to I resolve fast-forwarding error between local Git and GitHub?
I committed a project to my local Git repository and pushed it to GitHub. I then amended my local commit and tried to push the amended commit to GitHub. That gave me an error:
hint: Updates were ...
Advice
0
votes
2
replies
51
views
Commit old "hobby projects" code stored in local drives to git repository
I have been developing code for hobby projects across ESP8266, Arduino UNO, Python etc. for past 5+ years.
All this code is stored in either local drives of my computer, old hard disks or sent to ...
0
votes
1
answer
57
views
Create gitlab merge request for project A while in project B
Let's say you have the following setup in gitlab:
Gitlab Group Developments, of which there is a Subgroup Subgroup, which in turn contains Template project X which provides a general structure for ...
Best practices
0
votes
3
replies
54
views
WinUI3 Packaged App Signing Keys with Git
I'm just wondering what the best way is to deal with MSIX signing keys in a git repo.
My project keeps a hash of the signing key in the project files, which means anyone who clones the repository will ...
2
votes
1
answer
61
views
In Windows Git Sparse Checkout does not work as expected and downloads unwanted files
I have a folder structure in a Git Repo like the following:
.
└── top_level/
├── invalid_file_names/
│ ├── <?>.txt
│ └── <<>>?.txt
└── valid_files/
├── ...
1
vote
1
answer
82
views
SVN to GIT conversion: Mismatched email address
I have been tasked with moving various projects from SVN to GIT. This is not code that I have ever worked on so my name is not in the git log. Some code has moved to GIT no problem but other projects ...
-1
votes
0
answers
53
views
Why am I getting fatal: Unable to create '.git/index.lock': File exists even when no Git process is running? [duplicate]
I get this error:
fatal: Unable to create 'C:/Users/HP/.git/index.lock': File exists
There is no other Git process running.
Is it safe to delete the index.lock file manually?
Advice
0
votes
1
replies
63
views
set signing date during git commit
git rebase --committer-date-is-author-date --interactive remote/branch preserves (or adjusts) the CommitDate: value. Both CommitDate: and AuthorDate: could also be adjusted with the GIT_COMMITTER_DATE ...
Best practices
1
vote
3
replies
62
views
How to make one commit of several changes on GitHub when working via the GUI and not using command line
First of all, yes, I have read all topics here related to my question. But other questions are based on changes made locally and using command line.
I'm asking about this specific situation: working ...
Advice
0
votes
2
replies
43
views
Git: ignore local difference but keep in repo?
For testing on a VM, I made a different favicon file so I can immediately tell in the browser which tab is the VM vs. the public server. But of course git considers it an uncommitted change - I'd like ...