Separate names with a comma.
Recommended. Know people from your network.
Don't have an account?Sign up Now
To reset your password, enter the email address you registered with and we"ll send your instructions on their way.
Discussion in 'Cloud Computing' started by Kartikeya Sinha_1, Nov 2, 2019.
Please use this thread for all the conversations
Session -1 notes
Please advise to provide more details on the below questions.
1. git branching strategy
2. Real time issues faced during integrating git with jenkins
3. How to use git rebase in the real time.
4. How to resolve the conflicts in git.
Got stuck there what to do?
1)When I am trying to do merge master to Independence in Git bash I am getting an error.
$ git merge Independence
*** Please tell me who you are.
git config --global user.email "email@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'Uma Shankari@LAPTOP-J8J0OTIC.(none)')
2)When I am trying to do merge master to Independence in ubuntu I am getting an error-
root@ip-172-31-6-140:/home/ubuntu/test1/Session2--Devops# git push origin masterUsername for 'https://github.com': ushankari
Password for 'https://firstname.lastname@example.org':
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/ushankari/Session2--Devops.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Please advise as I am not able to Merge my branches.
3)When I performed commit in ubuntu for Independence, and its not pulled, it should show as 2/0
but i am not able to see. It shows as 0/0 only.
Uma Shankari M
When I tried to do compile.
For Jenkins-Java - clean install.
Build failed. Error
'mvn' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Invoke top-level Maven targets' marked build as failure
But Maven is installed in Ubuntu.
When I run "cd /var/lib/jenkins/workspace" - In ubuntu
This is the error I get as shown below.