git checkout develop, then git checkout startingBranch caused me to not find dependencies
So I am able to run my app successfully without hitch while on
branchOne I wanted to work on another fix so I wanted to switch to
develop branch and then create a new branch off of develop.
git checkout develop, tried to run the app, then I got a warning that my project was not in sync with my
podfile.lock so it couldn't run the app. Then I did
git checkout firstBranch to switch back to
branchOne but when I try to run the app this time it fails because it cannot find dependencies.
Why is this happening?
See also questions close to this topic
What are the differences between the --hard, --merge, and --keep for git reset?
The manpage of
Resets the index and working tree. Any changes to tracked files in the working tree since are discarded.
Resets the index and updates the files in the working tree that are different between and HEAD , but keeps those which are different between the index and working tree (i.e. which have changes which have not been added). If a file that is different between and the index has unstaged changes, reset is aborted. In other words, --merge does something like a git read-tree -u -m , but carries forward unmerged index entries.
Resets index entries and updates files in the working tree that are different between and HEAD . If a file that is different between and HEAD has local changes, reset is aborted.
I have trouble understanding the differences between the --hard, --merge, and --keep, possibly due to lack of understanding the different kinds of changes that are involved.
Could you rephrase and explain what they mean in more plain and explicit way?
How do i authenticate with github using git bash nano terminal in windows?
I am using nano git bash terminal for windows and i haven't ever typed my password or anything like that in that terminal. All i typed was my email which i use on github and my full name. However, i am somehow able to push my commits to a repository on my github account via terminal. I asked some people about that and they all said that i can't push anything to a repository on github without having access to it, so i must be autheticated. But i've never typed my password, how can i be authenticated?
All i can see using git config --list are my email adress and name i typed earlier, without typing any password and stuff.
My question is, how can i see if i am authenticated or how do i authenticate with github via terminal? How do i see all my authentication settings and stuff?
How to remove old bad commits of the project?
I already how to reset hard the commits to the exact commit I want, but that is not what I am trying to do here.
I'm hoping to delete the 2 bad commits.
What is the proper way to do that ?
How to attach test report in PR on GitHub
We are trying one attempt to provide the unit test reports in PR on GitHub. Now two ways at least I can think of are,
- Attach file in PR and
- Upload the unit test results on some web portal and provide the link to that in PR.
Now, I just want to know are there any other better ways to do it ? Also in case of first option, I don't see the .html file can be attached to PR so any idea on this?
FYI: We have unit test results in xml as well as html format and we want to upload html format reports. Thanks a lot in Advance!!
Git - Is it possible to get pull requests associated with a local branch?
I want to find the latest pull request associated with a local branch so that I can dynamically build a url to that pull request. My end goal is to build a url like this from a bash script:
This questions is about how to get pull requests associated with a specific branch. I can take it from there.
I found this, but it returns all pull requests for a project. I'd like to filter this response so it returns only pull requests associated with the currently checked out branch locally:
Any ideas are much appreciated!
Xcode shows multiple projects in source control
Recently, Xcode started showing two items in the source control tab: the first one is the main project I’m working on, and the second one is a pod I integrated (and it’s about the time I added the pod that I first noticed this thing).
I tried deintegrating CocoaPods, and after that the second repository disappeared from Xcode. But when I tried to only remove the single pod, the source control item was still there.
How do I remove the second repository from Xcode?
P.S. This question does not help.
Could not build Objective-C module 'ConnectSDK'
I have been trying to install ConnectSDK through CocoaPods, installation was fine. After that I could not import the same the following error comes up everytime:
Could not build Objective-C module 'ConnectSDK'
I have done Link Binary with Libraries. I have been sitting in this for the whole day. Anyone please help?
Podfile Dependency in swift 4.2
I create a new project and I need these dependencies when I install pod, all dependencies the workspace gets into a corrupted state where build errors cannot be removed.
target 'test' do pod 'Alamofire', '~> 4.7' pod 'Spring', :git => 'https://github.com/MengTo/Spring.git' pod 'TPKeyboardAvoiding' pod 'CircleProgressBar', '~> 0.32’ pod 'ObjectMapper', '~> 3.1' pod 'SwiftyJSON', '~> 4.0' pod 'Alamofire' , '~> 4.7.2' pod 'AlamofireObjectMapper', '~> 5.0' pod 'SJFluidSegmentedControl', '~> 1.0' pod 'GoogleMaps' pod 'GooglePlaces' pod 'PopupController' pod 'DZNEmptyDataSet' pod 'SlideMenuControllerSwift' pod "TextFieldEffects" pod 'QRCodeReader.swift', '~> 7.4.3' pod "CZPicker" pod 'TTADataPickerView' end