git Questions
3
I have an assignment that was already accepted by some of the students and I need to update it.
I updated the assignment template.
How can students now merge the updates into their repositories? (I...
Roundy asked 7/3, 2023 at 15:21
4
Solved
I am working on a project with a GitHub repo. I've been able to "add *", "commit" and "push" everything without a problem in the last 3 months. Now I downloaded a data...
3
Solved
I am curious about cloning projects using git. In order to clone a project we are calling:
git clone [email protected]:MY_GIT_USERNAME/PROJECT.git
So what we are doing here, is we are acce...
2
Solved
Git status gives me this:
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
"\357\200\233\357\200\233OB\357\200\233q"
nothing ...
Martinez asked 20/6, 2017 at 9:13
5
We add Jira Issue # to the commit message to link the change with the Jira Issue. As the issue number is added manually, it is prone to human error. As we always have this number in the Git branch_...
Albata asked 2/12, 2018 at 10:39
5
Solved
I am using the GitHub application for Windows, and it's working great. However, I'm confused how I can work on multiple branches at the same time on my local files.
Let's say that I cloned a repos...
5
Solved
I understand what's happening under the hood, when I run $ git checkout --detach.
While on master, when I $ git checkout --detach, my .git/HEAD is not pointing to ref: refs/heads/master but to a h...
Merengue asked 20/11, 2016 at 20:30
5
Is there any way to get an id of the project via GitLab API .
I created a project using GitLab API providing the project name -
curl -kX POST --header "PRIVATE-TOKEN: <access_token>" https...
Daedalus asked 15/2, 2019 at 21:6
2
Solved
When I am running Git Bash, I occasionally accidentally press CTRL+I and this freezes up the terminal for quite a long time, before releasing.
I have tried CTRL+D, CTRL+Q, CTRL+C thereafter,...
4
I want to run pipline on Bitbucket. I made all the necessary settings. I installed ssh_askpass. I am using Ubuntu 18.
However, I am getting the error below.
ssh_askpass: exec(/usr/bin/ssh-askpass):...
Zepeda asked 24/8, 2020 at 17:6
8
While trying to start a git bash window on any folder in my windows 7 machine, the git bash window closes right away.
I do this by clicking on the "Git Bash" option in the context menu.
When I ...
3
Solved
Below are my steps to create and attempt to add an SSH key but I'm rather unsure where I am going wrong, any help is greatly appreciated! (I'm new to this, sorry)
Following online instructions, I f...
3
At work we have to cope with a very huge git repository (90Go).
After having tried to tweak some things on my local copy (I had errors with a pack file, tried to unpack it), I might have deleted so...
Conventionality asked 31/1, 2012 at 16:46
4
Is it possible to get a list of pull requests that have touched any file under a given directory?
The other day, I had to wade through dozens of pull requests from the past several months and coll...
Remindful asked 27/2, 2017 at 22:28
3
Solved
The following REST Url of GitLab API gives me the repository tree of a project.
Get Repo Tree (WORKS)
https://gitlab.gspt.net/api/v3/projects/2931/repository/tree?private_token=XXXX
Output:
[...
5
I installed LFS for git, and when I try to push I get this error:
Uploading LFS objects: 100% (18/18), 96 KB | 0 B/s, done
Counting objects: 2199, done.
Delta compression using up to 12 threads.
...
5
Solved
I created a project CmsShoppingCart in MS VS 2015 and created a local repository. But when I want to add commit for the first time, I found the Commit All button is greyed out all showed in the pic...
Kenleigh asked 16/4, 2018 at 19:35
6
Solved
Running Windows 8.1 64-bit with the following installed:
Git for Bash (v2.24.1.windows.2) using MinGW-W64
Visual Studio Code (v1.41.1)
My personal SSH key (located at %USERPROFILE%\.ssh) has be...
Fiesole asked 24/1, 2020 at 11:47
7
I m getting this message when I try to pull or to push my commits using IntelliJ :
"Failed to start Git process"
In the settings of my IntelliJ I linked the git binary folder as this : C:\Prog...
Nonaggression asked 20/2, 2018 at 16:32
2
ASP.NET C# app running on Windows Server 2008
I'm finding that Git .idx and .pack files to be especially resistant to programmatic deletion :
C:\github\my-org\my-repo\.git\objects\pack\pack-90...
2
Solved
I have a branch master and a branch feature which was checked out from master.
master gets commits pushed into it from other developers and I regularly merge master back into feature, so that it k...
9
I have installed husky in my project. Then I ran the precommit command. Now, when I run the git command, it is not working and it's instead asking me how do you want to open the file. So, I removed...
Dunfermline asked 9/8, 2017 at 23:14
3
I'm trying to upload a number of files and folders to my private GitHub repository. However, when I open my private repository on GitHub, I can't see the files and folders that I've pushed.
I've be...
Saffren asked 21/1 at 18:5
3
Solved
I want to stop Vercel from creating preview deployments for the dependabot pull requests.
In Vercel, in the Ignored Build Step I've tried this:
bash vercel.sh
and in my repo, the vercel.sh file lo...
Granddaughter asked 25/1, 2023 at 9:40
7
Solved
If I wanted to make a directory and change directory into it all in one line, I could do something like this:
mkdir dir_name && cd $_
How can I do the same with git clone?
The command, g...
© 2022 - 2024 — McMap. All rights reserved.