Tuesday, April 13, 2021

GIT basic commands and steps

 git clone some_git_link

cd ~/test
git status --it will give the current branch
git branch -a --List all branches (local and remote)
git add . --to add all files
git commit -m "message" --to commit with message
git push
git checkout -b dev --switching to new branch (-b is for new branch)
git push origin dev
git checkout dev --changing branch
git merge master --get the master branch data
git push origin dev --to push to dev branch

***

Monday, April 12, 2021

Preventing line-wrap in "ldapsearch" command

ldapsearch line output is limited to 79 characters.

One way to overcome is using "-o ldif-wrap=no" in the command option.


***