Sunday, August 09, 2026

Git issues

Escenary:  You need to upload many files to github, then need to clone, add the files and upload from local, instead file by file.

 

cd Downloads/UnsaTesis/Waste/
ls
mkdir github
cd github
git clone https://github.com/fincahuanaco/solid_waste_peru.git
ls
cd solid_waste_peru/
ls
git add .
git commit -m "Add maps of Lima and Arequipa"
git config --global user.email "you@example.com"
git commit -m "Add maps of Lima and Arequipa" #after added files to directory
git push origin main
git config --global user.email "
you@example.com"
git push origin main
git config --global credential.helper store #store credentials on disk
clear
git push origin main
   

No comments:

Linux history issue

  echo "HISTSIZE=$HISTSIZE" echo "HISTFILESIZE=$HISTFILESIZE" #update the .bachrc file # Keep more commands in memory H...