Category "git"

Azure DevOps Pipelines: Skip resolving deltas + tags in Checkout

In Azure DevOps for any pipeline it takes around a minute to checkout the code. I have configured the fetch depth to 1 to speed it up but this doesn't have any

LFS: only files in 'git history' are pushed to LFS

With LFS, is there a way to have only 'git history' pushed into LFS, but the files in the top-most head/master are actually 'in' the repo?

When would Git move remote-tracking branches automatically, without 'git fetch'?

The Git documentation (https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches) says: "Remote-tracking branches are references to the state of remote branc

BitBucket: You are using an account password for Git over HTTPS

Today I got the following message when I used Git + BitBucket on MacOS while pushing a new branch to BitBucket. You are using an account password for Git over H

Fastlane. No such file or directory - GIT_TERMINAL_PROMPT=0, can't clone repository

When I run fastlane to build project, I get error: C:\Users\Me\AndroidStudioProjects\MyProject\MyProject-android>fastlane staging app:MyApp [✔] Ԇ

Is there a way, in VS Code, to warn me before pushing git changes to a distant branch?

I often do the same mistake, I do some corrections (or modifications) on my code, forgot to create a new branch for it and push it directly on the develop branc

I need help trying to replicate the flow I follow when using Github on Bitbucket

I have both accounts and projects on both services. I try to replicate my Github flow on bitbucket projects but so far it has not been possible. The git managem

Is exists a way to commit several directories not in a tree structure in only one master branch on git?

What I'm trying to do is git in a one master branch the following structure: /var/www/mysite/public_html /dev/only_this_file.txt /etc/directory/things /other/ot

How to create merge conflict between up-to-date - but differing - branches?

I want to restore old piece of code into the current code. Old piece of code is at an old commit that is a far parent of the current commit. Therefore there is

heroku: src refspec master does not match any

I'm hosting on Heroku. When I push: git push master Heroku I get the error: error: src refspec master does not match any. error: failed to push some refs to 'g

Fetch after clone from mirror re-downloads everything

I have a local mirror of a remote repo, and a working copy cloned from this local mirror. Now I do fetch on this working copy (against the remote) and expect it

Repo still uses 8 GB of quota after force push to initial commit (empty repo)

My gitlab repo was ~8GO To rewrite it completely with size optimisation the idea was to reset the remote to the first commit and force push (git checkout <in

Repo still uses 8 GB of quota after force push to initial commit (empty repo)

My gitlab repo was ~8GO To rewrite it completely with size optimisation the idea was to reset the remote to the first commit and force push (git checkout <in

Is there a way to synchronize a file across all branches?

I am trying store my dotfiles on GitHub using a bare repository. The thing is, that I want to create different branches for different desktop styles but if I ha

first commit in branch

Whith command git rev-list --max-parents=0 HEAD I get first commit in project 37a8bdc19ce1fd41ebfa1611621da3b30e92ff03 With this two I get the same output: gi

How to verify if the submodule hash is pushed to the remote?

I've a monorepo with many submodules,everytime a PR is raised on my monrepo to update hashes of the submodule, i need to run a jenkins job to see if the hashes

How do I push git even after using PAT

I tried to push some command to remote GitHub, even after using the PAT (personal access token) I'm still facing this problem. please help. C:\Users\adegu\proje

Gitlab Issue on git push -A

When I git push a Folder with the following Commands git add -A <directory> and git commit and git push it pushes some sub-directories as directories and

How can send custom error message after git push from local git server by using jgit api

I have been making a local git server by using jgit . Following is my code repository for local git server. https://github.com/masumcse1/mygitserver https://git

How to use "git describe" with dev and main (with tags) branches

I'm trying to setup a repository as if it there will be collaboration in the future, but for now it's just me using it. My intention is to use three branch tier