A new Flutter project with git testing.
This project is a starting point for a Flutter application.
-
git init
-
git remote add origin [remote name]
2.1 git checkout -b [new branch name]
-
git add .
-
git commit -m "[commit name]"
-
git push --set-upstream origin [branch name]
git branch -M main
-
git remote -v (to check repo)
-
git branch (to check where your branch)
-
git checkout [branch name] (to change branch)
-
git remote set-url origin [repo name] (to correct access right repo)
-
git config user.name "aungmyintoo"
-
git config user.email "aungmyintoo@gmail.com"
-
git config --global user.name "aungmyintoo"
-
git config --global user.email "aungmyintoo@gmail.com"
-
git config --list
-
git pull --rebase
- ssh-keygen -t ed25519 -C "aungmyintoo548@gmail.com" (OR) ssh-keygen -t rsa (OR) ssh-keygen
- pbcopy < ~/.ssh/id_ed25519.pub (OR) cat ~/.ssh/id_rsa.pub | pbcopy
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
git config --global user.name "name"
git config --global user.email "aungmyitoo@gmail.com"
git clone git@gitldfsadfasfdt.git
cd bethefirstagent
git switch -c main
touch README.md
git add README.md
git commit -m "add README"
git push -u origin main
cd existing_folder
git init --initial-branch=main
git remote add origin git@gitlab.com:sdfsadfsafasdf.git
git add .
git commit -m "Initial commit"
git push -u origin main
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.com:sdfsadfsa.git
git push -u origin --all
git push -u origin --tags
git commit -m "first commit"
git branch -M main