Questions tagged [git]

0 votes
0 replies
Folder “node_modules” is being added by git even having a .gitignore file with a Node template
I have a Node App for which I added a .gitignore file with a template for Node. But even with the .gitignore file, the node_module folder keep be...
asked 1 month ago
0 votes
1 replies
Creating git repos on server properly
I logged into my server and created a repo using the commands: mkdir project.git cd project.git git init --bare On my local machine I then per...
git
asked 1 month ago
-1 votes
0 replies
file is too big file while comparing the changes in a file - codecommit
While comparing changes in a file from pull request changes tab, It shows me this error Error The difference cannot be displayed. Either an indi...
-2 votes
1 replies
Folder in .gitignore is still in repo [duplicate]
This question already has an answer here: Remove directory from remote repository after adding them to .gitignore...
asked 1 month ago
2 votes
1 replies
Is direct commit to master branch allowed in GitFlow workflow?
Is direct commit to master branch allowed in GitFlow workflow or should master branch contain only merge commits from other branches (develop, ho...
asked 1 month ago
3 votes
1 replies
Name of git plugin/enhancement to add numbers to git results
I recently had to wipe my computer and lost some of the config I had there. One thing I'm missing is a plugin/enhancement I had on git that woul...
git
asked 1 month ago
0 votes
1 replies
Rebase git feature branch
I am trying to rebase my feature branch. I created feature branch name "feature/task1" from 'develop'. After that made changes in feature branch...
asked 1 month ago
0 votes
3 replies
Merge only the last commit from a branch into master
I made a test repository using the below commands mkdir test-repo cd test-repo/ git init I made a file in the directory and committed the chan...
asked 1 month ago
0 votes
1 replies
Git can't clone repo
I am trying to clone some repo from GitHub, but I am getting error like: fatal: unable to access 'https://github.com/some/thing.git/': Received...
git
asked 1 month ago
0 votes
0 replies
Ignore a particular folder alone during the git clone
I am trying to checkout an ios app from Bit-Bucket and trying to clone the repo but it takes too much time since the POD files have been committe...
asked 1 month ago
0 votes
0 replies
How to automatic increase patch version after bugfix with gitversion
Summary I'm setting up a new project and wanted to use GitVersion to calculate the current version of my app. What I need is semantic versioning...
asked 1 month ago
0 votes
0 replies
git is unable to clone over LAN using `git daemon`
I have tried to clone my repo from another Windows PC over LAN. Other post about fatal: read error: Invalid argument didn't give me any solutions...
asked 1 month ago
1 votes
1 replies
Git: run validation script with before & after version of each modified file in a commit or in the working copy
After doing extensive modifications, I'd like to run a validation script to ensure the changes are correct: the changes are not quite trivial to...
git
asked 1 month ago
0 votes
1 replies
Remove and replace a production git repository
I need to replace a git repository on a production site. I have been working on a mirrored git repo that has staging and production branches. Ive...
asked 1 month ago
4 votes
1 replies
Version control for machine learning data set with large amount of images?
We starting to use dvc with git to control versioning of machine learning projects. For dvc remote storage we use google cloud storage. Our da...
0 votes
2 replies
What is Gitlab's instance domain?
I am trying to test to see if my SSH key was added correctly by following the instructions which are found halfway down the page here. To te...
asked 1 month ago
0 votes
2 replies
cargo publish is not ignoring files in .gitignore
» cargo publish Updating crates.io index warning: manifest has no license, license-file, documentation, homepage or repository. See https://d...
asked 1 month ago
1 votes
2 replies
Only some output of git is processed when piped to sed
I want to add a tag before each line of the output of git checkout command. www [master] % git checkout master --progress | sed -e "s/^/[tag] --...
asked 1 month ago
0 votes
2 replies
Git pushed, but when I pull is does not pull it as a project
I created a maven project in eclipse and pushed it to a remote branch. When I pulled it from another computer I did not get it as a project, I on...
asked 1 month ago
1 votes
1 replies
Remove first commit in repo
I hardcorded some credentials in the first commit of a repo, here is git log output: commit 7958f03d51b0c3852bffc43bd169a121314dafca (HEAD ->...
asked 1 month ago
0 votes
1 replies
Git copy file from another branch without staging it
I've found how you can copy a file wholesale from one branch to another: Edit please note, if you think this question is a duplicate of this,...
git
asked 1 month ago
1 votes
1 replies
Resolving git rebase deleted by Us
I have a file say a.java which I have modified. In the meantime before I push my changes to master, Another developer deleted that file (basical...
asked 1 month ago
0 votes
1 replies
is it possible to change git commit date to an arbitrary date which is too far?
I know about GIT_AUTHOR_DATE and GIT_COMMITTER_DATE and all methods that help us to change a git commit date and for example I want to change las...
git
asked 1 month ago
1 votes
2 replies
Is there a way to mirror another repo's master to a non-master branch only?
I have two repos - repo 1 and repo 2, and repo 1 has two branches - a master branch and branch 1. I want to be able to mirror repo 2's master bra...
asked 1 month ago
1 votes
1 replies
Create repositories in Bitbucket
I have the below structure of projects and repositories: Project 1: --Repository 1 --Repository 2 -- -- -- --Repository 5 Project 2: --...
asked 1 month ago