- git clone existing repo in IDE
- git clone https://github.com/org/repo.git
- make necessary changes in the files
- git remote -v
- it list all the remote urls in the local system IDE
- origin https://github.com/org/repo.git (fetch)
- origin https://github.com/org/repo.git (push)
- git rename existing origin url to new old-orign
- git remote rename origin old-origin
- git add new repo url to origin
- git remote add origin https://github.com/org/repo2.git
- verify origin urls
- git remote -v
- should get 4 urls 2 for old-origin(old repo) and 2 for (new repo) origin
- git reinitialize
- git init .
- Reinitialized existing Git repository in C:/repo/.git/
- git add all files
- git add .
- commit the changes
- git commit -m "Initial"
- git remove .idea files
- git rm -r --cached .idea
- removes already tracked files in git
- rm -r .idea
- this deletes all .idea files including the folder locally
- git push -u origin --all
- git remote remove old-origin
What Is LookML? LookML is a language for describing dimensions, aggregates, calculations, and data relationships in a SQL database. Looker uses a model written in LookML to construct SQL queries against a particular database. LookML Projects A LookML Project is a collection of model, view, and dashboard files that are typically version controlled together via a Git repository. The model files contain information about which tables to use, and how they should be joined together. The view files contain information about how to calculate information about each table (or across multiple tables if the joins permit them). LookML separates structure from content, so the query structure (how tables are joined) is independent of the query content (the columns to access, derived fields, aggregate functions to compute, and filtering expressions to apply). LookML separates content of queries from structure of queries SQL Queries Generated by Looker For data analysts, LookML fosters DRY style...
Comments
Post a Comment